package com.gardenguell.salad.util;

import com.gardenguell.salad.app.AppContext;

/**
 * Created by absurd on 2015/11/20.
 */
public class ResUtil{
        public static String getString(int id) {
            return AppContext.getContext().getResources().getString(id);
        }

        public static String getString(int id, Object... formatArgs) {
            return AppContext.getContext().getString(id, formatArgs);
        }

        public static int getColor(int id) {
            return AppContext.getContext().getResources().getColor(id);
        }

}
